package com.sicnu.carrent.view;

import com.sicnu.carrent.domain.Brand;

import java.util.*;


public class Menu {

    //private List<Brand> brandList = new ArrayList<Brand>();

    //放关于按照类型查询的品牌和类型的键值对的集合，理解为菜单。
    private Map<String,List<String>> typeMap = new TreeMap<String,List<String>>(new Comparator<String>() {
        @Override
        public int compare(String s1, String s2) {
            return s1.compareTo(s2)*-1;
        }
    });

    public Map<String, List<String>> getTypeMap() {
        return typeMap;
    }

    public void setTypeMap(Map<String, List<String>> typeMap) {
        this.typeMap = typeMap;
    }
}
